package cc.aiee.alipay.core.pojo.dto;

import java.io.Serializable;

import lombok.Data;

@Data
public class AliPayCommonDTO implements Serializable {

	private static final long serialVersionUID = 1L;
	/**
	 * 公共响应参数
	 */
	private String code;
	private String msg;
	private String sub_code;
	private String sub_msg;
	private String sign;

	public boolean ok() {
		if ("10000".equals(code) && "Success".equals(msg)) {
			return true;
		}
		return false;
	}
}
